<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>商家保证金 - 我的管理中心</title>
{include file="head"}
<link href="/static/thinkct/css/basic.css?v=1" rel="stylesheet" type="text/css" /><script language="javascript" src="/static/thinkct/js/jquery.m.js"></script><script language="javascript" src="/static/thinkct/js/layui/layui.js"></script><script language="javascript" src="/static/thinkct/js/common.js?v=1"></script><script language="javascript" src="/static/thinkct/js/member.js?v=1"></script><link href="/static/thinkct/css/member.css?v=1" rel="stylesheet" type="text/css" /><link href="/static/thinkct/js/layui/css/layui.css" rel="stylesheet" type="text/css" /></head>
<body>
<!--头部-->
{include file="uhead"}

<!--头部-->
<div class="umain">
{include file="uleft"} 
<div class="uright">
<div class="mwz">
<li class='cur'><a href='/member/bond/index'>保证金管理</a></li>
<li class="prompt r">店铺状态：
{if $sell.bond>1}<font color="#0b9a00">正常</font>{/if}
{if $sell.bond==0}<font color=#ff6600>限制</font>{/if}
&nbsp;&nbsp;保证金状态：
{if $sell.bond>1}<font color="#0b9a00">正常</font>{/if}
{if $sell.bond==0}<font color=blue>未缴纳</font>&nbsp;（<a class='bond_a' style='color: #056dae;' data='state'>状态说明</a>）{/if}
</li>
</div>
<div class="bond">
<div class='bond_pandect'>
<li><div class='left'>保证金余额：<br /><em>    {$sell.bond}.00</em>元</div><div class='right'><a class='bond_a' data='back'>退保</a><a class='bond_a' data='come'>转出</a></div></li>
<li><div class='left'>需缴纳：<br /><em style="color:red">300.00</em></em>元 </div><div class='right'><a class='bond_a' data='setup'>设置</a><a class='bond_a' data='payments'>缴纳</a></div></li>
</div>

<div class="notes" style="border-bottom:#e5e5e5 solid 1px;margin-top:0">
	<li> <h3>保证金说明：</h3></li>
<li><b>1.</b>保证金主要用于消保赔付（<a href="/help/view/56" target="_blank" style='color: #056dae;'>赔付说明</a>），同时分为【<span>基础保证金</span>】（必需缴纳）、【<span>追加保证金</span>】（自愿缴纳）；</li>
<li><b>2.</b>基础保证金额度【<span>300元</span>】，追加保证金额度【<span>不限</span>】（保证金总额超过300元的部分均视为追加保证金）；</li>
<li><b>3.</b>保证金缴纳7天后，可申请关店【<span>退保</span>】，后7天观察期内无纠纷退还所有保证金余额（有纠纷待处理完后退还）。</li>

	 </div>

<div class="bond_list">
<ul class='tit'>
	<li class='cur'>保证金明细</li>
	<li class='sodiv Search-box'>
	<input name="" placeholder="请输入关联单号" id="sobh" class='Search-inp' value="" maxlength="20" type="text"><input type="button" class="sobtn Search-btn" value="搜索" >
	</li>
</ul>



<table class="tablelist">
<thead>
	  <tr>
		<td width="8%" style='font-size:12px;'>类型</td>
            <td width="20%" style='font-size:12px;'>时间</td>
			<td width="14%" style='font-size:12px;'>金额</td>
            <td width="36%" style='font-size:12px;'>备注</td>
			<td width="15%" style='font-size:12px;'>关联单号</td>
    </tr>
    </thead>

 <tbody>

{foreach $data.log as $v}<tr>
<td>{if $v.moneynum>0}<font color=red><b>转出</b></font>{else}<font color=#0b9a00><b>缴入</b></font>{/if}</td>
<td>{:ifsj($v.sj)}</td>
<td>{if($v.moneynum>0)}<font color=red>-</font>{else}<font color=#0b9a00>+</font>{/if} {:str_replace('-',null,$v.moneynum)}</td>
<td>{$v.tit}</td>
<td><a href="/member/lists/money/pro/{$v.bh}" target=_blank style="color:#333">{$v.bh}</a></td>
</tr>{/foreach}

{if !$data.log}<tr class=ulist_s0><td colspan=5 align=center style='line-height:50px;color:#666'>暂无记录</td></tr>{/if}
 </tbody>
</table>

</div>
</div>
</div>
</div>
{include file="bottom"}<script>
$(document).ready(function(){
	$(".bond_a").click(function(){
		var html=$(this).attr('data');
		layer_iframe('/member/bond/'+html,"保证金"+$(this).html(),html=='payments'?'788px':'700px');
	})
	$(".sobtn").click(function(){
		($('#sobh').val().length<1 || isNaN($('#sobh').val()))?(layer.tips('订单号格式错误！', '#sobh',{tips: 1})):location.href='/member/bond/index/bh/'+$('#sobh').val();
	});
})
</script>

</body>
</html>